package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class MySchoolTest {
    public static void main(String[] args) {
        MySchool s=new MySchool("上海长宁中心",9,1);
        s.show();
        System.out.println(s);
        s=new MySchool("合肥中博",11,12);
        s.show();
        System.out.println(s);
        MySchool sr[]=new MySchool[20];
        for(int i=0;i<sr.length;i++){
            sr[i]=new MySchool("青鸟第"+(i+1)+"中心",i+1,i+2);
        }
        for(int i=0;i<sr.length;i++){
            sr[i].show();
        }
    }
}
